@import "structure.css";
@import "styles.css";


.UserLayer {
    margin: 0;
    padding: 0;
    overflow: hidden;
    min-height: 500px;
}
.UserLayer .Panel {
    width: 270px;
    float: left;
    padding: 0;
}
.UserLayer .Panel .Element {
    border-radius: 0.5em;
    border: 1px solid #bfcbd6;
    background-color: lightyellow;
    width: 200px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 1em;
}
.UserLayer .Panel .Element .UserPhoto {
    margin-left: auto;
    margin-right: auto;
}
.UserLayer .Panel .Service {

 }
.UserLayer .Panel .Service a {
    text-decoration: none;
}
.UserLayer .Panel .Service a:hover {
    background-color: #dde4ec;
}
.UserLayer .WorkSpace {
    border-left: 1px solid lightgrey;
    margin-left: 270px;
    min-height: 500px;
    padding: 10px;
    padding-left: 1em;
}

.UserLayer .WorkSpace fieldset {
    border-radius: 0.3em;
    border: 1px solid lightgrey;
    padding: 1.5em;
    margin-left: 1em;
    margin-right: 1em;
/*    display: inline;*/
}


.PageSwitch {
    display: inline-block;
}
.PageSwitch .SwitchPanel {
    text-align: center;
    padding-top: 4px;
}
.PageSwitch .Content {
}

.PageSwitch .SwitchPanel .Link,
.PageSwitch .SwitchPanel .NextLink {
/*    text-decoration: none;*/
    border: 1px solid lightgrey;
    background-color: #dde4ec;
    padding: 1px;
    margin: 1px;
}

.PageSwitch .SwitchPanel .PageLink:hover,
.PageSwitch .SwitchPanel .NextLink:hover {
    background-color: lightsteelblue;
}
.SelectPage,
.SelectedPageCase {
    text-decoration: none;
    border: 1px solid lightgrey;
    background-color: white;
    padding: 1px;
    margin: 1px;
}


.PageMenu {
    margin-top: 0.4em;
    margin-bottom: 0.4em;
    vertical-align: middle;
}
.PageMenu button {
    min-width: 9em;
}

.PageContent {
/*    margin-left: 0.4em;
    margin-right: 0.4em;*/
}

.WideListBox {
    width: 400px;
}

.FieldListSelect, .EditTypeList {
    width: 600px;
}


/*******************************
************  диалог ***********
*******************************/
.Dialog {

}
.Dialog .Form {
    border: 4px solid #4b6c9e;
    border-radius: 0.6em;
    position: absolute;
    background-color: white;
    opacity:1;
/*    z-index: 4;*/
}
.Dialog .Background {
    position: fixed;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    background-color: white;
    filter:alpha(opacity=60);
    -khtml-opacity:0.6;
    -moz-opacity:0.6;
    opacity:0.6;
}
.Dialog .Form .Head {

    height: 1.5em;
    background-color: #4b6c9e;
    border-top-radius: 0.3em;

    padding-left: 1em;

    cursor: move;
}
.Dialog .Form .HeadTitle {
    font-weight: bold;
    float: left;
    color: white;
}
.Dialog .Form .HeadButton {
    width: 1.2em;
    height: 1.5em;
    margin-right: 4px;
    margin-left: 2em;
    cursor: default;
    float: right;
    color: white;
    font-weight: bold;
}
.Dialog .Form .HeadButton:hover {
    color: red;
}
.Dialog .Form .Content {
    margin: 0.6em;
}
.Dialog .Form .Content .ControlPanel {
    margin: 1em;
    text-align: center;
}
.Dialog .Form .Content .ControlPanel button {
    min-width: 8em;
    min-height: 1.5em;
}
.Dialog .Form .Content .Area {
    background-color: lightyellow;
    padding: 0.4em;
    border-radius: 0.3em;
    border: 1px solid silver;
}


.Dialog .Form .Content .QueryTable .Head {
    background-color: #bfcbd6;
    font-weight: bold;
}

.WideButton {
    min-width: 100px;
}


.FormTable tr td {
    text-align: right;
    padding-right: 0.4em;
}

.QueryTable, .Dictionary {
    border-collapse: collapse;
}
.QueryTable tr td, .Dictionary tr td{
    border: 1px solid lightgrey;
    color: black;
    padding: 4px;
    cursor: default;
}
.QueryTable .Head {
    background-color: #bfcbd6;
    font-weight: bold;
}

.Odd td,
.QueryTable .Odd td {
    background: #F0EFFF;
}

.Dictionary {
    width: 600px;
}

.Dictionary tr:hover{
    background-color: #dde4ec;
}
.Dictionary .SetWord {
    background-color: lightgreen;
}

.Dictionary tr td {
/*    padding: 0;
    margin: 0;*/
}

.ListBox {
    min-width: 150px;
/*    min-height: 4em;*/
}

.TextArea {
    width: 400px;
    height: 45px;
    border: 1px solid lightgrey;
}


.RowDiv {
    border: 1px solid #dde4ec;
    border-bottom: none;
    margin-top: 0.4em;
    margin-bottom: 0.4em;
}

.RowDiv tr td {
    border-bottom: 1px solid #dde4ec;
    border-collapse: collapse;

    padding-left: 0.5em;
    padding-right: 0.5em;
}

.Warning {
    color: red;
    font-size: 14px;
    padding-bottom: 1em;
}

.Message {
    color: green;
    padding-bottom: 1em;
}

.ErrorMessage {
    margin: 0;
    padding: 0;
    color: red;
}

.FileInput {
    width: 300px;
}

.NoneBorder {
    border: none;
}

.Slim {
    margin: 0;
    padding: 0;
}

.EditImage {
    max-width: 300px;
}

.Wide {
    width: 380px;
}

.InsertPanel {
    margin-top: 1em;
    border: 1px solid lightgrey;
    padding: 1em;
/*    background-color: lightyellow;*/
    display: inline-block;
}

.RoundBorder {
    border: 1px solid lightgrey;
    border-radius: 4px;
    padding: 1em;
}

.MarginBottom {
    margin-bottom: 1em;
}

.ValidError {
    color: red;
}


.ControlCell {
    width: 1px;
    text-align: center;
    cursor: pointer;
}


.Catalog {
    display: block;
}

.CatalogDict {
    width: 100%;
}

.Search {
    width: 100%;
}


.EditionList {
    width:100%;
}

.UserList {
    width:600px;
}

.MiddleWide {
    width: 250px;
}


.Collapsible {
    margin-top: 1em;
    margin-bottom: 1.5em;
}
.Collapsible .Control {
/*    border-bottom: 1px dotted silver;*/
    text-decoration: none;
    color: black;
    font-size: 14px;
    margin: 0px;
    padding: 0px;
}
.Collapsible .Line {
    border-top: 1px solid silver;
    width: 100%;
    height: 1px;
    margin-bottom: 0.2em;
}


.BriefTable {
    margin: 0;
    padding: 0;
    width: 100%;
    border-collapse: collapse;
}
.BriefTable .Title {
    width: 25%;
    padding-right: 1.5em;
    border-bottom: 1px dotted lightgray;
}
.BriefTable .Value {
    width: 75%;
}
.BriefTable tr td {
    border: none;
    margin: 0;
    padding: 0;

    padding-top: 3px;
    padding-left: 4px;
}


.BriefTable .Hot .Title {
    background-color: lightgreen;
}

.BriefTable .VeryHot .Title {
    background-color: lightsalmon;
}

.AuthField {
    width: 30%;
    padding: 1.5em;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.AuthForm {
    text-align: left;
    display: inline-table;
}

.AuthForm .Lable{
    text-align: right;
}

.AuthForm tr td {
    padding-left: 4px;
}

.ProfileTable {
    border-collapse: collapse;
}

.ProfileTable tr td{
    border: 1px solid lightgrey;
}

.ProfileTable .QueryTable tr td{
    border: 1px solid lightgrey;
}